﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Remediation.aspx.cs" Inherits="RemediationTest._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Remediation Testing Page</h2>
    <p>
        <strong>Description:</strong> Determines which tags from a given test (or other source) require additional study and then searches Bing for the most prevalent tag.</p>
    <p>
        <strong>Service URL: </strong>
        <a href="http://vlab.asu.edu:21199/Services/Remediation/Service1.svc">
        http://vlab.asu.edu:21199/Services/Remediation/Service1.svc</a></p>
    <p>
        <strong>WSDL file: </strong> 
        <a href="http://vlab.asu.edu:21199/Services/Remediation/Service1.svc?wsdl">
        http://vlab.asu.edu:21199/Services/Remediation/Service1.svc?wsdl</a></p>
    <p>
        <strong>Method names:</strong></p>
    <table class="style1" border="2">
        <tr>
            <td>
                <strong>Method Name</strong></td>
            <td>
                <strong>Signature</strong></td>
            <td>
                <strong>Return Type</strong></td>
            <td>
                <strong>Parameters</strong></td>
        </tr>
        <tr>
            <td>
                GetRemediation</td>
            <td>
                string[] GetRemediation(string[] topicTags)</td>
            <td>
                an array of strings, each containing a remediation resource URL</td>
            <td>
                an array of strings of one or more tags/search terms, entered as you would at Bing&#39;s web site</td>
        </tr>
    </table>
    <p>
        <strong>Service test:</strong></p>
<p>
        This service searches for the tag that occurs most often in a test's incorrect answers and provides
        results back to the service consumer in an array of URL strings. The student user should be 
        provided with the link content to prepare them for another test.</p>
    <p>
        Enter up to five possible tags. (Note: this limit is arbitrary to the test page; there is no limit
        in the service.) You are encouraged to repeat tags as if the test taker often got questions wrong
        that were tagged in the same way (i.e., "mixed fractions", "horse anatomy", "pie history").
    <p>
        &nbsp;<asp:TextBox ID="TextBox1" runat="server" Width="175px"></asp:TextBox>
        </p>
            <p>
        &nbsp;<asp:TextBox ID="TextBox2" runat="server" Width="175px"></asp:TextBox>
        </p>
            <p>
        &nbsp;<asp:TextBox ID="TextBox3" runat="server" Width="175px"></asp:TextBox>
        </p>
            <p>
        &nbsp;<asp:TextBox ID="TextBox4" runat="server" Width="175px"></asp:TextBox>
        </p>
            <p>
        &nbsp;<asp:TextBox ID="TextBox5" runat="server" Width="175px"></asp:TextBox>
        </p>
        <p>
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
            Text="Find remediation" />
        </p>
<p>
        <asp:TextBox ID="TextBox6" runat="server" Height="89px" TextMode="MultiLine" 
            Width="590px"></asp:TextBox>
    </p>

</asp:Content>
